﻿namespace RestAPI
{
    /// <summary>
    /// 营销外呼
    /// </summary>
    public class WebCallWithcollectinfo : RestAPIModelBase
    {
        /// <summary>
        /// 营销外呼
        /// </summary>
        /// <param name="companyid">企业编号</param>
        /// <param name="callflowid">呼叫流水号</param>
        /// <param name="calling">先呼号码</param>
        /// <param name="called">后呼的坐席手机号码</param>
        /// <param name="callback">呼叫结果回调地址</param>
        /// <param name="collectinfocallback">呼叫完成后，坐席按键回调</param>
        /// <param name="callmode">呼叫模式  0_不需要录音  1_需要录音</param>
        public WebCallWithcollectinfo(string companyid, string callflowid, string calling, string called, string callback, string collectinfocallback, string callmode)
        {
            Companyid = companyid;
            CallFlowid = callflowid;
            Calling = calling;
            Called = called;
            Callback = callback;
            Collectinfocallback = collectinfocallback;
            Callmode = callmode;
        }
    }
}
